home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 68 65 | 72 6d 65 73 2e 69 73 2e |Path: he|rmes.is.|
|00000010| 63 6f 2e 7a 61 21 6e 65 | 77 73 0a 46 72 6f 6d 3a |co.za!ne|ws.From:|
|00000020| 20 22 57 2e 20 44 69 63 | 6b 73 22 20 3c 77 64 40 | "W. Dic|ks" <wd@|
|00000030| 69 73 69 73 2e 63 6f 2e | 7a 61 3e 0a 4e 65 77 73 |isis.co.|za>.News|
|00000040| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000050| 67 2e 63 2b 2b 0a 53 75 | 62 6a 65 63 74 3a 20 50 |g.c++.Su|bject: P|
|00000060| 72 69 6e 74 69 6e 67 20 | 63 6c 61 73 73 20 6e 61 |rinting |class na|
|00000070| 6d 65 73 0a 44 61 74 65 | 3a 20 36 20 4d 61 72 20 |mes.Date|: 6 Mar |
|00000080| 31 39 39 36 20 30 35 3a | 35 31 3a 34 32 20 47 4d |1996 05:|51:42 GM|
|00000090| 54 0a 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|000000a0| 4e 6f 20 6f 72 67 61 6e | 69 73 61 74 69 6f 6e 20 |No organ|isation |
|000000b0| 73 75 70 70 6c 69 65 64 | 0a 4d 65 73 73 61 67 65 |supplied|.Message|
|000000c0| 2d 49 44 3a 20 3c 34 68 | 6a 39 35 65 24 63 6f 75 |-ID: <4h|j95e$cou|
|000000d0| 40 68 65 72 6d 65 73 2e | 69 73 2e 63 6f 2e 7a 61 |@hermes.|is.co.za|
|000000e0| 3e 0a 4e 4e 54 50 2d 50 | 6f 73 74 69 6e 67 2d 48 |>.NNTP-P|osting-H|
|000000f0| 6f 73 74 3a 20 31 39 36 | 2e 31 34 2e 35 30 2e 31 |ost: 196|.14.50.1|
|00000100| 39 35 0a 4d 69 6d 65 2d | 56 65 72 73 69 6f 6e 3a |95.Mime-|Version:|
|00000110| 20 31 2e 30 0a 43 6f 6e | 74 65 6e 74 2d 54 79 70 | 1.0.Con|tent-Typ|
|00000120| 65 3a 20 74 65 78 74 2f | 70 6c 61 69 6e 3b 20 63 |e: text/|plain; c|
|00000130| 68 61 72 73 65 74 3d 75 | 73 2d 61 73 63 69 69 0a |harset=u|s-ascii.|
|00000140| 43 6f 6e 74 65 6e 74 2d | 54 72 61 6e 73 66 65 72 |Content-|Transfer|
|00000150| 2d 45 6e 63 6f 64 69 6e | 67 3a 20 37 62 69 74 0a |-Encodin|g: 7bit.|
|00000160| 58 2d 4d 61 69 6c 65 72 | 3a 20 4d 6f 7a 69 6c 6c |X-Mailer|: Mozill|
|00000170| 61 20 31 2e 32 32 20 28 | 57 69 6e 64 6f 77 73 3b |a 1.22 (|Windows;|
|00000180| 20 49 3b 20 33 32 62 69 | 74 29 0a 54 6f 3a 20 62 | I; 32bi|t).To: b|
|00000190| 73 40 61 6c 69 63 65 2e | 61 74 74 2e 63 6f 6d 0a |s@alice.|att.com.|
|000001a0| 0a 49 20 68 61 76 65 20 | 61 20 63 6c 61 73 73 20 |.I have |a class |
|000001b0| 63 61 6c 6c 65 64 20 56 | 65 72 79 4c 6f 6e 67 4e |called V|eryLongN|
|000001c0| 75 6d 20 77 69 74 68 20 | 61 20 64 65 72 69 76 65 |um with |a derive|
|000001d0| 64 20 63 6c 61 73 73 20 | 0a 56 65 72 79 4c 6f 6e |d class |.VeryLon|
|000001e0| 67 45 76 65 6e 4e 75 6d | 2e 20 49 20 74 68 65 6e |gEvenNum|. I then|
|000001f0| 20 63 72 65 61 74 65 20 | 69 6e 73 74 61 6e 63 65 | create |instance|
|00000200| 73 20 6f 66 20 62 6f 74 | 68 20 74 79 70 65 73 20 |s of bot|h types |
|00000210| 61 6e 64 20 61 64 64 20 | 0a 74 68 65 6d 20 74 6f |and add |.them to|
|00000220| 20 61 20 6c 69 6e 6b 65 | 64 20 6c 69 73 74 2e 20 | a linke|d list. |
|00000230| 4c 61 74 65 72 20 49 20 | 70 72 69 6e 74 20 74 68 |Later I |print th|
|00000240| 65 20 76 61 6c 75 65 73 | 20 6f 66 20 74 68 65 73 |e values| of thes|
|00000250| 65 20 0a 6e 75 6d 62 65 | 72 73 20 75 73 69 6e 67 |e .numbe|rs using|
|00000260| 20 74 68 65 20 6c 69 6e | 6b 65 64 20 6c 69 73 74 | the lin|ked list|
|00000270| 27 73 20 70 72 69 6e 74 | 20 66 75 6e 63 74 69 6f |'s print| functio|
|00000280| 6e 61 6c 69 74 79 2e 20 | 54 68 65 20 0a 56 65 72 |nality. |The .Ver|
|00000290| 79 4c 6f 6e 67 4e 75 6d | 20 68 61 73 20 61 6e 20 |yLongNum| has an |
|000002a0| 6f 70 65 72 61 74 6f 72 | 3c 3c 20 64 65 66 69 6e |operator|<< defin|
|000002b0| 65 64 20 74 6f 20 70 72 | 69 6e 74 20 74 6f 20 73 |ed to pr|int to s|
|000002c0| 74 64 6f 75 74 2e 20 54 | 68 65 20 0a 66 75 6e 63 |tdout. T|he .func|
|000002d0| 74 69 6f 6e 61 6c 69 74 | 79 20 74 68 61 74 20 49 |tionalit|y that I|
|000002e0| 20 77 6f 75 6c 64 20 6c | 69 6b 65 20 74 6f 20 61 | would l|ike to a|
|000002f0| 64 64 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 |dd to th|e number|
|00000300| 20 63 6c 61 73 73 65 73 | 20 0a 69 73 20 74 6f 20 | classes| .is to |
|00000310| 62 65 20 61 62 6c 65 20 | 74 6f 20 70 72 69 6e 74 |be able |to print|
|00000320| 20 74 68 65 20 74 79 70 | 65 20 6f 66 20 74 68 65 | the typ|e of the|
|00000330| 20 6e 75 6d 62 65 72 20 | 62 61 73 65 64 20 6f 6e | number |based on|
|00000340| 20 74 68 65 20 0a 63 6c | 61 73 73 20 77 68 65 6e | the .cl|ass when|
|00000350| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00000360| 65 20 6e 75 6d 62 65 72 | 20 69 73 20 70 72 69 6e |e number| is prin|
|00000370| 74 65 64 2e 20 48 6f 77 | 20 77 6f 75 6c 64 20 49 |ted. How| would I|
|00000380| 20 64 6f 20 0a 74 68 69 | 73 3f 0a 0a | do .thi|s?.. |
+--------+-------------------------+-------------------------+--------+--------+